package com.hzit.bj1804.dianordermanagementwutongservice.dao;


import com.hzit.bj1804.dian.entity.Orderinfo;


import java.util.Date;
import java.util.List;

public interface OrderinfoDAO {
    int deleteByPrimaryKey(Integer orderid);

    int insert(Orderinfo record);

    int insertSelective(Orderinfo record);

    Orderinfo selectByPrimaryKey(Integer orderid);
    //下单时间查询订单
    List<Orderinfo> selectBytime(Date ordertime);
    //修改订单状态
    int updateByPrimaryKeySelective(Orderinfo record);

    int updateByPrimaryKey(Orderinfo record);
}